﻿using Shop.RemoteModel;
using Shop.Repository;

namespace Shop.Collect.lmpl
{
    internal class PageModuleListCollect : IPageModuleListCollect
    {
        private readonly IPageModuleListRepository _Repository;

        public PageModuleListCollect ( IPageModuleListRepository repository )
        {
            this._Repository = repository;
        }
        public Result[] Gets<Result> ( PageUseRange range ) where Result : class, new()
        {
            return this._Repository.Gets<Result>(range);
        }
    }
}
